package com.xy.smartsms.presenter;

import android.app.Activity;

import com.xy.smartsms.util.CommonUtils;
import com.xy.smartsms.vista.ComposeVista;

import org.json.JSONObject;

/**
 * Created by admin on 2017/1/13.
 */

public abstract class ComposePresenter extends Presenter<ComposeVista> {
    protected Activity mContext;
    protected String mRecipientNumber = null;

    protected ComposePresenter(Activity context) {
        mContext = context;
    }

    public void setData(String phone) {
        mRecipientNumber = CommonUtils.formatPhoneNum(phone);
    }

    public abstract void preloadBubble();

    public abstract void loadMenu();

    public abstract void processMenuAction(JSONObject json);

    public abstract void clearCache();
}
